#encoding=utf8
'''
Created on 2012-10-9

@author: Administrator
'''
from pub import Func
from pub.Config import Config
class Feedback(object):
    '''
    反馈信息模型
    '''
    TABLE_NAME="sq_feedback"
    PRIMARY_KEY="Id"
    FEEDCONTENT="Content"
    FEEDUSERID="UserId"
    CREATED = "Created"
    FEEDIP = "FeedIp"
    def __init__(self):
        '''
        Constructor
        '''
#        反馈信息编号
        self.__Id = Config.I_SYS_ZERO
#        反馈信息内容
        self.__Content = Config.S_SYS_NONE
#        反馈信息用户编号
        self.__UserId = Config.I_SYS_ZERO
#        反馈信息创建时间
        self.__Created = Func.getNow()
#        反馈信息时的Ip地址
        self.__FeedIp = Config.S_SYS_NONE

    def get_id(self):
        return self.__Id


    def get_content(self):
        return self.__Content


    def get_user_id(self):
        return self.__UserId


    def get_created(self):
        return self.__Created


    def get_feed_ip(self):
        return self.__FeedIp


    def set_id(self, value):
        self.__Id = value


    def set_content(self, value):
        self.__Content = value


    def set_user_id(self, value):
        self.__UserId = value


    def set_created(self, value):
        self.__Created = value


    def set_feed_ip(self, value):
        self.__FeedIp = value

        
